package io.wdb.common.utils;

/**
 * DB常量
 * @author zeteng
 *
 */
public class ConstantConfig {

	/**充值类型*/
	public static final int ACCOUNT_CASH_LOG_CHARGETYPE_10 = 10;
	public static final int ACCOUNT_CASH_LOG_CHARGETYPE_20 = 20;
	/**系统赠送*/
	public static final int ACCOUNT_CASH_LOG_CHARGETYPE_30 = 30;
	public static final int ACCOUNT_CASH_LOG_CHARGETYPE_40 = 40;
	public static final int ACCOUNT_CASH_LOG_CHARGETYPE_50 = 50;
	
	/**
	 * 币种
	 */
	public static String CNY = "CNY";
	
	/**
	 * 操作类型
	 */
	public static final int ACCOUNT_CASH_LOG_ORDERTYPE_10 = 10;
	public static final int ACCOUNT_CASH_LOG_ORDERTYPE_20 = 20;
	public static final int ACCOUNT_CASH_LOG_ORDERTYPE_30 = 30;
	
	//积分操作日志
	public static final int USER_POINT_LOG_CHANGETYPE_10 = 10;
	public static final int USER_POINT_LOG_CHANGETYPE_20 = 20;
	public static final int USER_POINT_LOG_CHANGETYPE_30 = 30;
	public static final int USER_POINT_LOG_CHANGETYPE_40 = 40;//系统赠送
	
	/**
	 * 扫码类型
	 */
	public static final Integer SCAN_ADD_MONEY = 1;
	public static final Integer SCAN_ADD_VIP_MONTH = 2;

	/**
	 * 抽奖活动领奖状态,进入抽奖界面
	 */
	public static final Integer LOTTERY_STATUS_INIT = -1;
	/**
	 * 抽奖活动领奖状态,未领取 0
	 */
	public static final Integer LOTTERY_STATUS_UNSEND = 0;
	/**
	 * 抽奖活动领奖状态,已领取 1
	 */
	public static final Integer LOTTERY_STATUS_SENDED = 1;
	
	/**
	 * 抽奖用户状态
	 */
	public static final Integer LOTTERY_USER_STATUS_UNLOGIN = 0;//未获取到用户信息
	public static final Integer LOTTERY_USER_STATUS_LOGINED = 1;//已登录
	public static final Integer LOTTERY_USER_STATUS_PAID_DEPOSIT = 2;//充值押金
	public static final Integer LOTTERY_USER_STATUS_PAID_ACCOUNT = 3;//充值余额
	
	public static final Integer LOTTERY_USER_STATUS_REGIST = 4;//注册

	/**
	 * 奖品类型
	 */
	public static final Integer LOTTERY_AWARD_TYPE_NORMOL_COUPON = 0;//普通优惠券
	public static final Integer LOTTERY_AWARD_TYPE_BOOK_COUPON = 1;//赠书优惠券
	public static final Integer LOTTERY_AWARD_TYPE_THANKS = 2;//谢谢


	
	/**
	 * 是否新用户
	 */
	public static final Integer NEW_USER_NO = 0;
	public static final Integer NEW_USER_YES = 1;
	
	public static final Integer BORROW_CHANCE_NO = 0;
	public static final Integer BORROW_CHANCE_YES = 1;


}
